package br.com.iswe.gwt.ui.client.chart;

import java.util.ArrayList;
import java.util.List;

public class Chart2DSeries {
	
	private List series = new ArrayList();
	
	public void addSerie(String serieName, String serieValue){
		series.add(serieName + "->" + serieValue);
	}
	
	public String toString() {
		String retorno = "";
		for (int i = 0; i < series.size(); i++) {
			retorno += series.get(i);
			if(i < (series.size()-1)){
				retorno += "|";
			}
		}
		return retorno;
	}
}
